From: Ian Campbell Date: Wed, 17 Apr 2013 12:52:33 +0000 (+0100) Subject: arm64: correct secondary CPU bringup X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6984 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=153c66d80275ca7d2d617c26743b61083ecfa936;p=xen.git arm64: correct secondary CPU bringup The current cpuid is held in x22 not x12. Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini --- diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S index bbde419d5e..c18ef2b4d4 100644 --- a/xen/arch/arm/arm64/head.S +++ b/xen/arch/arm/arm64/head.S @@ -307,7 +307,7 @@ paging: dsb sy ldr x0, =smp_up_cpu ldr x1, [x0] /* Which CPU is being booted? */ - cmp x1, x12 /* Is it us? */ + cmp x1, x22 /* Is it us? */ b.ne 1b launch: